package com.note.model;

import java.util.Date;

public class Content {
    private Long cid;

    private String title;

    private String slug;

    private Long created;

    private Long modified;

    private String type;

    private String tags;

    private String categories;

    private Integer hits;

    private Integer commentsNum;

    private Integer allowComment;

    private Integer allowPing;

    private Integer allowFeed;

    private Integer status;

    private String author;

    private Date gtmCreate;

    private Date gtmModified;

    private String content;

    public Content(Long cid, String title, String slug, Long created, Long modified, String type, String tags, String categories, Integer hits, Integer commentsNum, Integer allowComment, Integer allowPing, Integer allowFeed, Integer status, String author, Date gtmCreate, Date gtmModified, String content) {
        this.cid = cid;
        this.title = title;
        this.slug = slug;
        this.created = created;
        this.modified = modified;
        this.type = type;
        this.tags = tags;
        this.categories = categories;
        this.hits = hits;
        this.commentsNum = commentsNum;
        this.allowComment = allowComment;
        this.allowPing = allowPing;
        this.allowFeed = allowFeed;
        this.status = status;
        this.author = author;
        this.gtmCreate = gtmCreate;
        this.gtmModified = gtmModified;
        this.content = content;
    }

    public Content() {
        super();
    }

    public Long getCid() {
        return cid;
    }

    public void setCid(Long cid) {
        this.cid = cid;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getSlug() {
        return slug;
    }

    public void setSlug(String slug) {
        this.slug = slug == null ? null : slug.trim();
    }

    public Long getCreated() {
        return created;
    }

    public void setCreated(Long created) {
        this.created = created;
    }

    public Long getModified() {
        return modified;
    }

    public void setModified(Long modified) {
        this.modified = modified;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public String getTags() {
        return tags;
    }

    public void setTags(String tags) {
        this.tags = tags == null ? null : tags.trim();
    }

    public String getCategories() {
        return categories;
    }

    public void setCategories(String categories) {
        this.categories = categories == null ? null : categories.trim();
    }

    public Integer getHits() {
        return hits;
    }

    public void setHits(Integer hits) {
        this.hits = hits;
    }

    public Integer getCommentsNum() {
        return commentsNum;
    }

    public void setCommentsNum(Integer commentsNum) {
        this.commentsNum = commentsNum;
    }

    public Integer getAllowComment() {
        return allowComment;
    }

    public void setAllowComment(Integer allowComment) {
        this.allowComment = allowComment;
    }

    public Integer getAllowPing() {
        return allowPing;
    }

    public void setAllowPing(Integer allowPing) {
        this.allowPing = allowPing;
    }

    public Integer getAllowFeed() {
        return allowFeed;
    }

    public void setAllowFeed(Integer allowFeed) {
        this.allowFeed = allowFeed;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author == null ? null : author.trim();
    }

    public Date getGtmCreate() {
        return gtmCreate;
    }

    public void setGtmCreate(Date gtmCreate) {
        this.gtmCreate = gtmCreate;
    }

    public Date getGtmModified() {
        return gtmModified;
    }

    public void setGtmModified(Date gtmModified) {
        this.gtmModified = gtmModified;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }
}